<?php
	echo session_start();
	if($_GET['s'])
		$_SESSION['n'] = $_GET['s'];
		
	echo $_SESSION['n'];
	
?>

<a href="testscript.php">link</a>